<template>
  <view class="page-container">
    <view class="main-content">
      <view class="logo-container">
        <image 
          class="logo" 
          src="https://via.placeholder.com/100x100?text=I+%E2%99%A5+CHINA" 
          mode="widthFix"
          alt="我爱中国标志">
        </image>
      </view>
      <view class="user-info">
        <text class="user-text">{{msg}}</text>
      </view>
    </view>
    
    <view class="nav">
      <view class="nav_item">
        <view class="iconfont icon-qiangguotong"></view>
        <text>强国通</text>
      </view>
      <view class="nav_item">
        <view class="iconfont icon-bailing"></view>
        <text>百灵</text>
      </view>
      <view class="nav_item">
        <view class="iconfont icon-xuexi"></view>
        <text>学习</text>
      </view>
      <view class="nav_item">
        <view class="iconfont icon-diantaishi"></view>
        <text>电视台</text>
      </view>
      <view class="nav_item">
        <view class="iconfont icon-diantai"></view>
        <text>电台</text>
      </view>
    </view>
  </view>
</template>

<script>
export default {
  name: 'LearningPower',
  data() {
    return {
		msg:"我来自互联231，我叫张昊"
    }
  }
}
</script>

<style>
.page-container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  background-color: #f5f5f5;
}

.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.logo-container {
  margin-bottom: 20px;
}

.logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
}

.user-info {
  text-align: center;
}

.user-text {
  font-size: 16px;
  color: #333333;
}

.nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: #ffffff;
  border-top: 1px solid #eeeeee;
  padding: 10px 0;
  margin: 0 auto;
  width: 100%;
}

.nav_item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 20%;
}

.iconfont {
  font-size: 24px;
  margin-bottom: 5px;
  color: #666666;
}

.nav_item text {
  font-size: 12px;
  color: #666666;
}
</style>
